package com.bhs.sansong.bean;

import android.os.Parcel;
import android.os.Parcelable;

import androidx.annotation.NonNull;

public class FeeDetail implements Parcelable {

    private int fee_id;
    private String deliver_sn;
    private String fee_sn;
    private String pay_sn;
    private String fee_notice;
    private String money;
    private int create_time;
    private int apply_time;
    private int audit_time;
    private String update_time;
    private int pay_type;
    private String pay_type_msg;
    private int status;
    private String fee_pic;

    public FeeDetail(String fee_notice, String money) {
        this.fee_notice = fee_notice;
        this.money = money;
    }

    public String getPay_type_msg() {
        return pay_type_msg;
    }

    public void setPay_type_msg(String pay_type_msg) {
        this.pay_type_msg = pay_type_msg;
    }

    protected FeeDetail(Parcel in) {
        fee_id = in.readInt();
        deliver_sn = in.readString();
        fee_sn = in.readString();
        pay_sn = in.readString();
        fee_notice = in.readString();
        money = in.readString();
        create_time = in.readInt();
        apply_time = in.readInt();
        audit_time = in.readInt();
        update_time = in.readString();
        pay_type = in.readInt();
        status = in.readInt();
    }

    public static final Creator<FeeDetail> CREATOR = new Creator<FeeDetail>() {
        @Override
        public FeeDetail createFromParcel(Parcel in) {
            return new FeeDetail(in);
        }

        @Override
        public FeeDetail[] newArray(int size) {
            return new FeeDetail[size];
        }
    };

    public String getFee_pic() {
        return fee_pic;
    }

    public void setFee_pic(String fee_pic) {
        this.fee_pic = fee_pic;
    }

    public void setApply_time(int apply_time) {
        this.apply_time = apply_time;
    }

    public int getFee_id() {
        return fee_id;
    }

    public void setFee_id(int fee_id) {
        this.fee_id = fee_id;
    }

    public String getDeliver_sn() {
        return deliver_sn;
    }

    public void setDeliver_sn(String deliver_sn) {
        this.deliver_sn = deliver_sn;
    }

    public String getFee_sn() {
        return fee_sn;
    }

    public void setFee_sn(String fee_sn) {
        this.fee_sn = fee_sn;
    }

    public String getPay_sn() {
        return pay_sn;
    }

    public void setPay_sn(String pay_sn) {
        this.pay_sn = pay_sn;
    }

    public String getFee_notice() {
        return fee_notice;
    }

    public void setFee_notice(String fee_notice) {
        this.fee_notice = fee_notice;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public int getApply_time() {
        return apply_time;
    }


    public int getAudit_time() {
        return audit_time;
    }

    public void setAudit_time(int audit_time) {
        this.audit_time = audit_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(@NonNull Parcel parcel, int i) {
        parcel.writeInt(fee_id);
        parcel.writeString(deliver_sn);
        parcel.writeString(fee_sn);
        parcel.writeString(pay_sn);
        parcel.writeString(fee_notice);
        parcel.writeString(money);
        parcel.writeInt(create_time);
        parcel.writeInt(apply_time);
        parcel.writeInt(audit_time);
        parcel.writeString(update_time);
        parcel.writeInt(pay_type);
        parcel.writeInt(status);
    }
}
